ScxV6Object.Interface Method
Returns an object representing the database interface of the object.
Remarks
The Interface method returns an automation interface that provides access to all properties and methods available on the database object. This is an alternative to using the Property property to access database properties of an object.
For information about what properties and methods are available refer to the Database Schema.
The following example written in VB.NET shows the Interface method being used set the number of retries on a modbus channel to 5.
Dim Svr As ScxV6DbClient.ScxV6Server
' Connect to the server
Svr = New ScxV6DbClient.ScxV6Server
Svr.Connect("MAIN", "", "")
Dim Obj As ScxV6DbClient.ScxV6Object
Obj = Svr.FindObject("Primary Serial Modbus Channel")
Obj.Interface.Retries = 5
' Disconnect
Svr.Disconnect()